package com.jd.cmdb.tsc.jmq;

import com.jd.cmdb.tsc.entity.Task;
import com.jd.jmq.common.exception.JMQException;

import java.util.List;

/**
 * Created by tianzhengguo on 2016/1/11.
 */
public interface JMQService/*<Task>*/ {

    void send(Task t) throws JMQException;

    void batchSend(List<Task> list) throws JMQException;
}
